sizerequest: Change critical message
authorBenjamin Otte <otte@redhat.com>
Sat, 20 Nov 2021 15:59:50 +0000 (16:59 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 20 Nov 2021 16:05:36 +0000 (17:05 +0100)
commiteefb6a0dd4d57a58420d7a6eb76dd95dff1d5bb3
treea656938a253cf2f7566a49d39ec9f1f65281f6cd
parent7b3208092c63ab7b9c957f7979ef1666230cd12d
sizerequest: Change critical message

Printing the affected widget leads people to assume that it is to blame
for the error. However, the widget is the object the function is being
called on, not the caller. And the caller is doing it wrong.

Usually the caller is the parent widget, so we could print that one, but
it's only usually, it can be an issue propagating from a grandparent and
it doesn't tell you from where the function is called (allocation or
measuring), so you need a debugger anyway.

So don't put anything there instead.
gtk/gtksizerequest.c